<template>
	<div>
		<div class="allOther">
			<el-tabs type="card" v-model="activeName" @tab-click="handleClick">
				<el-tab-pane label="食物节点" name="Food">
					<children :activeName="activeName"></children>
				</el-tab-pane>
				<el-tab-pane label="检查节点" name="Check">
					<children :activeName="activeName"></children>
				</el-tab-pane>
				<el-tab-pane label="科室节点" name="Department">
					<children :activeName="activeName"></children>
				</el-tab-pane>
				<el-tab-pane label="药品节点" name="Drug">
					<children :activeName="activeName"></children>
				</el-tab-pane>
				<el-tab-pane label="症状节点" name="Symptom">
					<children :activeName="activeName"></children>
				</el-tab-pane>
			</el-tabs>
		</div>
	</div>
</template>

<script>
	import Children from "../myadmin/pages/Adminchild.vue";
	export default {
		data() {
			return {
				activeName: 'Food',
			};
		},
		components: {
			Children
		},
		mounted() {
			document.title = "其他后台"
		},
		methods: {
			handleClick(tab) {
				const _this = this;
				_this.activeName = tab.name;
			},
		}
	}
</script>

<style>

</style>